/*let isTheFeatureImplemented = false;
try {
    if(isFeatureSupported()) {
        isTheFeatureImplemented = true;
    }
} catch (unused) {}

*/
let str = '{"type":"module"}';
var  DEFAULT_DATA = {"type":"moudle"};// :any = null;
var jsonData;//:JSON;
try {
    jsonData = JSON.parse(str); // (A)
} catch {
    jsonData = DEFAULT_DATA;
}
console.log(jsonData);